package com.htwy.core.controller;

import com.htwy.core.model.Attachment;
import com.htwy.ext.BaseController;
import com.jfinal.kit.Ret;

public class AttachmentController extends BaseController<Attachment> {

    @Override
    protected Attachment dao() {
        return Attachment.dao;
    }


    public void upload(){
        renderJson(Ret.ok());
    }

    public void test(){
        renderTemplate("test.html");
    }
}
